Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SetAuthentication function to authenticate 'passively' #516

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

inteon
Copy link
Contributor

@inteon inteon commented Sep 5, 2024

When using vcert as a library, being able to create a vcert client without sending a self-check request to the server can help reduce unnecessary API calls.
It gives the caller more control over when the self-checks occur.
Eg. when creating clients dynamically based on cached credentials.

@hawksight
Copy link

@luispresuelVenafi / @rvelaVenafi / @marcos-albornoz / @EduardoVV - Any chance you might be able to review this PR from @inteon?

@inteon inteon force-pushed the add_passive_auth_option branch 2 times, most recently from 28de5ec to 6824cf5 Compare January 3, 2025 09:00
…ending a self-check request to the server)

Signed-off-by: Tim Ramlot <[email protected]>
@inteon inteon force-pushed the add_passive_auth_option branch from 6824cf5 to f32d0fd Compare January 3, 2025 09:06
@@ -45,7 +45,6 @@ type Connector struct {
apiKey string
accessToken string
verbose bool
Identity identity
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identity was not used anywhere.

@@ -91,7 +91,6 @@ type Connector struct {
apiKey string
accessToken string
verbose bool
user *userDetails
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

user was not meaningfully used anywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants